<div class="layui-container fly-marginTop fly-user-main">
    <!-- 会员中心的菜单 -->
    <ul class="layui-nav layui-nav-tree layui-inline" id="nav" lay-filter="user">
      <li class="layui-nav-item">
        <a href="{:url('home/user/index')}">
          <i class="layui-icon">&#xe609;</i>
          我的主页
        </a>
      </li>
      <li class="layui-nav-item">
        <a href="{:url('home/user/profile')}">
          <i class="layui-icon">&#xe620;</i>
          基本设置
        </a>
      </li>
      <li class="layui-nav-item layui-this">
        <a href="{:url('home/post/index')}">
          <i class="layui-icon">&#xe6fb;</i>
          我的帖子
        </a>
      </li>
      <li class="layui-nav-item">
        <a href="{:url('home/post/collect')}">
          <i class="layui-icon">&#xe83c;</i>
          我的收藏
        </a>
      </li>
      <li class="layui-nav-item">
        <a href="{:url('home/user/record')}">
          <i class="layui-icon">&#xe702;</i>
          积分消费记录
        </a>
      </li>
    </ul>
  
    <div class="site-tree-mobile layui-hide">
      <i class="layui-icon">&#xe602;</i>
    </div>
    <div class="site-mobile-shade"></div>
    
    <div class="site-tree-mobile layui-hide">
      <i class="layui-icon">&#xe602;</i>
    </div>
    <div class="site-mobile-shade"></div>
    
    
    <div class="fly-panel fly-panel-user" pad20>
      <div class="layui-tab layui-tab-brief" lay-filter="user">
        <ul class="layui-tab-title" id="LAY_mine">
          <li data-type="mine-jie" lay-id="index" class="layui-this">
            我发的帖（<span>{$count}</span>）
          </li>
        </ul>
        <div class="layui-tab-content" style="padding: 20px 0;">
          <div class="layui-tab-item layui-show">
            <ul class="mine-view jie-row">
              {foreach $postlist as $item}
                <li>
                  <a class="jie-title" href="{:url('home/index/info',['postid'=>$item['id']])}" target="_blank">{$item.title}</a>
                  <i>{$item.createtime}</i>
                  <a class="mine-edit" href="{:url('home/post/edit',['postid'=>$item['id']])}">编辑</a>
                  <em>{$item.visit_text}阅/{$item.comment}答</em>
                </li>
              {/foreach}
            </ul>
            <div id="LAY_page">
              {$pagestr}
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>